<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台管理系统-首页</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css">
    <link rel="stylesheet" href="../static/css/style.css" th:href="@{/css/style.css}"/>
</head>
<body>
<div th:replace="~{common/layout :: header}"></div>
<div th:replace="~{common/layout :: sidebar}"></div>
<div class="content">
    <h1>欢迎使用后台管理系统</h1>
    <p>在这里，您可以管理用户、医院、医生、订单和体检报告。</p>
    <div class="hospital-images">
        <div class="image-container">
            <img th:src="@{/image/hospital1.jpeg}" alt="医院1">
        </div>
        <div class="image-container">
            <img th:src="@{/image/hospital2.jpg}" alt="医院2">
        </div>
        <div class="image-container">
            <img th:src="@{/image/hospital3.jpg}" alt="医院3">
        </div>
        <div class="image-container">
            <img th:src="@{/image/hospital4.jpeg}" alt="医院4">
        </div>
    </div>

    <span th:text="${currentUser}"></span>
    <div class="buttons">
        <a href="/index/login" class="btn btn-primary">登录</a>
        <a th:href="@{/logout}" class="btn btn-primary">登出</a>
    </div>


</div>
</body>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</html>
